package com.woniuxy.factory.service;

import com.woniuxy.factory.entity.WorkOrder;

import java.util.List;

public interface WorkOrderService {
    List<WorkOrder> selectWorkOrders(WorkOrder workOrder,int page,int limit);

    int selectWorkOrderCount(WorkOrder workOrder);

    void insertWorkOrder(WorkOrder workOrder);
    
    void deleteWorkOrderById(String worId);

    WorkOrder workOrderEchoById(String worId);

    void updateWorkOrderById(WorkOrder workOrder);

    void deleteWorkOrderSelected(int[] worIds);

    void selectWorkOrderById(String planid);

    List<WorkOrder> selectAllWorkOrder();

    void selectScheduleByplanId(String planid);

    WorkOrder selectWorkOrderEchoById(String planid);
}
